package com.liveinstars.api.facade;


import com.liveinstars.api.dto.InitModel;
import com.onepiece.shipelves.common.utils.Headers;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;


@FeignClient("quhui")
public interface AppConfigApi {

    @RequestMapping(path = "/init", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    public String init(@RequestBody InitModel model,
                       @RequestHeader("from") String from,
                       @RequestHeader(Headers.USER_AGENT) String ua);


}
